<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <title></title>
    </head>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/public.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/patriarch/patriarchcenterAskForLeaveList.css"/>

    <body>
        <a href="{:U('Home/Public/person')}" id="home">
            <img src="__PUBLIC__/home/img/index/home.png" />
        </a>
        <img src="__PUBLIC__/home/img/patriarch/wyqjlb.png" />
        <div class="ask_for_leave">
                <a href="{:U('index')}"><p>总请假({$count})</p></a>
                <a href="{:U('index',array('status'=>1))}">已通过({$succ})</a>
                <a href="{:U('index',array('status'=>0))}">审核中({$erro})</a>
            <!-- </form> -->
        </div>
    <!--============请假列表==============-->
        <ul>
            <!--请假列表li-->
            <foreach name="list" item="vo">
             <li>
                <if condition="$vo.status eq 1">
                <img src="__PUBLIC__/home/img/patriarch/Glbtb.png" /><!--已通过-->
                </if>
                <if condition="$vo.status eq 2">
                <img src="__PUBLIC__/home/img/patriarch/Rlbtb.png"/><!-- 未通过 -->
                </if>
                <if condition="$vo.status eq 0">
                    <img src="__PUBLIC__/home/img/Teacher/shy.png" />
                </if>
                <div>
                    <p>{$vo.nickname}&nbsp;{$vo.tname}</p>
                    <p>请假天数：{$vo.days}</p>
                </div>
                <if condition="$vo.status eq 1">
                    <img src="__PUBLIC__/home/img/patriarch/ytg.png"/><!--已通过-->
                </if>
                <if condition="$vo.status eq 2">
                    <img src="__PUBLIC__/home/img/patriarch/wtg.png"/><!-- 未通过 -->
                </if>
                <if condition="$vo.status eq 0">
                    <img src="__PUBLIC__/home/img/patriarch/shz.png"/>
                </if>
            </li><!--请假列表li结束-->
            </foreach>    
        </ul>
        <!--请假列表结束-->
    </body>
    <script src="__PUBLIC__/home/js/font.js" type="text/javascript" charset="utf-8"></script>
</html>


